Quản lý nhân sự công ty bằng c# _ full source code
60.376 lượt xem;
- frmDangNhap.designer.cs
- QuanLyNhanSu /
- project /
1 namespace QuanLyNhanSu
2 {
3 partial class frmDangNhap
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDangNhap));
32 this.txtPassword = new System.Windows.Forms.TextBox();
33 this.txtUserName = new System.Windows.Forms.TextBox();
34 this.label4 = new System.Windows.Forms.Label();
35 this.label3 = new System.Windows.Forms.Label();
36 this.groupBox1 = new System.Windows.Forms.GroupBox();
37 this.button1 = new System.Windows.Forms.Button();
38 this.btnExit = new System.Windows.Forms.Button();
39 this.btnSignIn = new System.Windows.Forms.Button();
40 this.groupBox1.SuspendLayout();
41 this.SuspendLayout();
42 //
43 // txtPassword
44 //
45 this.txtPassword.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
46 this.txtPassword.Location = new System.Drawing.Point(137, 74);
47 this.txtPassword.Margin = new System.Windows.Forms.Padding(2);
48 this.txtPassword.Name = "txtPassword";
49 this.txtPassword.PasswordChar = '*';
50 this.txtPassword.Size = new System.Drawing.Size(205, 24);
51 this.txtPassword.TabIndex = 2;
52 this.txtPassword.Text = "@admin";
53 //
54 // txtUserName
55 //
56 this.txtUserName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
57 this.txtUserName.Location = new System.Drawing.Point(137, 39);
58 this.txtUserName.Margin = new System.Windows.Forms.Padding(2);
59 this.txtUserName.Name = "txtUserName";
60 this.txtUserName.Size = new System.Drawing.Size(205, 24);
61 this.txtUserName.TabIndex = 1;
62 this.txtUserName.Text = "administrator";
63 //
64 // label4
65 //
66 this.label4.AutoSize = true;
67 this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
68 this.label4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
69 this.label4.Location = new System.Drawing.Point(4, 76);
70 this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
71 this.label4.Name = "label4";
72 this.label4.Size = new System.Drawing.Size(83, 20);
73 this.label4.TabIndex = 11;
74 this.label4.Text = "Mật khẩu";
75 //
76 // label3
77 //
78 this.label3.AutoSize = true;
79 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
80 this.label3.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
81 this.label3.Location = new System.Drawing.Point(4, 41);
82 this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
83 this.label3.Name = "label3";
84 this.label3.Size = new System.Drawing.Size(129, 20);
85 this.label3.TabIndex = 10;
86 this.label3.Text = "Tên đăng nhập";
87 //
88 // groupBox1
89 //
90 this.groupBox1.BackColor = System.Drawing.Color.Transparent;
91 this.groupBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
92 this.groupBox1.Controls.Add(this.button1);
93 this.groupBox1.Controls.Add(this.btnExit);
94 this.groupBox1.Controls.Add(this.label3);
95 this.groupBox1.Controls.Add(this.txtUserName);
96 this.groupBox1.Controls.Add(this.btnSignIn);
97 this.groupBox1.Controls.Add(this.txtPassword);
98 this.groupBox1.Controls.Add(this.label4);
99 this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
100 this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText;
101 this.groupBox1.Location = new System.Drawing.Point(153, 11);
102 this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
103 this.groupBox1.Name = "groupBox1";
104 this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
105 this.groupBox1.Size = new System.Drawing.Size(370, 256);
106 this.groupBox1.TabIndex = 15;
107 this.groupBox1.TabStop = false;
108 //
109 // button1
110 //
111 this.button1.BackColor = System.Drawing.Color.Transparent;
112 this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
113 this.button1.Cursor = System.Windows.Forms.Cursors.Arrow;
114 this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
115 this.button1.Image = global::QuanLyNhanSu.Properties.Resources.Computer1;
116 this.button1.Location = new System.Drawing.Point(137, 160);
117 this.button1.Name = "button1";
118 this.button1.Size = new System.Drawing.Size(205, 27);
119 this.button1.TabIndex = 17;
120 this.button1.Text = "Bàn phím ảo";
121 this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
122 this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
123 this.button1.UseVisualStyleBackColor = false;
124 this.button1.Click += new System.EventHandler(this.button1_Click);
125 //
126 // btnExit
127 //
128 this.btnExit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnExit.BackgroundImage")));
129 this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
130 this.btnExit.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
131 this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
132 this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
133 this.btnExit.Location = new System.Drawing.Point(260, 117);
134 this.btnExit.Margin = new System.Windows.Forms.Padding(2);
135 this.btnExit.Name = "btnExit";
136 this.btnExit.Size = new System.Drawing.Size(82, 26);
137 this.btnExit.TabIndex = 16;
138 this.btnExit.Text = " Thoát";
139 this.btnExit.UseVisualStyleBackColor = true;
140 this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
141 //
142 // btnSignIn
143 //
144 this.btnSignIn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSignIn.BackgroundImage")));
145 this.btnSignIn.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
146 this.btnSignIn.Image = ((System.Drawing.Image)(resources.GetObject("btnSignIn.Image")));
147 this.btnSignIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
148 this.btnSignIn.Location = new System.Drawing.Point(137, 117);
149 this.btnSignIn.Margin = new System.Windows.Forms.Padding(2);
150 this.btnSignIn.Name = "btnSignIn";
151 this.btnSignIn.Size = new System.Drawing.Size(110, 26);
152 this.btnSignIn.TabIndex = 14;
153 this.btnSignIn.Text = " Đăng Nhập";
154 this.btnSignIn.UseVisualStyleBackColor = true;
155 this.btnSignIn.Click += new System.EventHandler(this.btnDangNhap_Click);
156 //
157 // frmDangNhap
158 //
159 this.AcceptButton = this.btnSignIn;
160 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
161 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
162 this.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
163 this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
164 this.CancelButton = this.btnExit;
165 this.ClientSize = new System.Drawing.Size(534, 278);
166 this.ControlBox = false;
167 this.Controls.Add(this.groupBox1);
168 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
169 this.HelpButton = true;
170 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
171 this.Margin = new System.Windows.Forms.Padding(2);
172 this.MaximizeBox = false;
173 this.MinimizeBox = false;
174 this.Name = "frmDangNhap";
175 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
176 this.Text = "Đăng Nhập";
177 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmDangNhap_FormClosed);
178 this.groupBox1.ResumeLayout(false);
179 this.groupBox1.PerformLayout();
180 this.ResumeLayout(false);
181
182 }
183
184 #endregion
185
186 private System.Windows.Forms.Button btnSignIn;
187 private System.Windows.Forms.TextBox txtPassword;
188 private System.Windows.Forms.TextBox txtUserName;
189 private System.Windows.Forms.Label label4;
190 private System.Windows.Forms.Label label3;
191 private System.Windows.Forms.GroupBox groupBox1;
192 private System.Windows.Forms.Button btnExit;
193 private System.Windows.Forms.Button button1;
194 }
195 }
2 {
3 partial class frmDangNhap
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDangNhap));
32 this.txtPassword = new System.Windows.Forms.TextBox();
33 this.txtUserName = new System.Windows.Forms.TextBox();
34 this.label4 = new System.Windows.Forms.Label();
35 this.label3 = new System.Windows.Forms.Label();
36 this.groupBox1 = new System.Windows.Forms.GroupBox();
37 this.button1 = new System.Windows.Forms.Button();
38 this.btnExit = new System.Windows.Forms.Button();
39 this.btnSignIn = new System.Windows.Forms.Button();
40 this.groupBox1.SuspendLayout();
41 this.SuspendLayout();
42 //
43 // txtPassword
44 //
45 this.txtPassword.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
46 this.txtPassword.Location = new System.Drawing.Point(137, 74);
47 this.txtPassword.Margin = new System.Windows.Forms.Padding(2);
48 this.txtPassword.Name = "txtPassword";
49 this.txtPassword.PasswordChar = '*';
50 this.txtPassword.Size = new System.Drawing.Size(205, 24);
51 this.txtPassword.TabIndex = 2;
52 this.txtPassword.Text = "@admin";
53 //
54 // txtUserName
55 //
56 this.txtUserName.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F);
57 this.txtUserName.Location = new System.Drawing.Point(137, 39);
58 this.txtUserName.Margin = new System.Windows.Forms.Padding(2);
59 this.txtUserName.Name = "txtUserName";
60 this.txtUserName.Size = new System.Drawing.Size(205, 24);
61 this.txtUserName.TabIndex = 1;
62 this.txtUserName.Text = "administrator";
63 //
64 // label4
65 //
66 this.label4.AutoSize = true;
67 this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
68 this.label4.ForeColor = System.Drawing.SystemColors.ControlLightLight;
69 this.label4.Location = new System.Drawing.Point(4, 76);
70 this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
71 this.label4.Name = "label4";
72 this.label4.Size = new System.Drawing.Size(83, 20);
73 this.label4.TabIndex = 11;
74 this.label4.Text = "Mật khẩu";
75 //
76 // label3
77 //
78 this.label3.AutoSize = true;
79 this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold);
80 this.label3.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
81 this.label3.Location = new System.Drawing.Point(4, 41);
82 this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
83 this.label3.Name = "label3";
84 this.label3.Size = new System.Drawing.Size(129, 20);
85 this.label3.TabIndex = 10;
86 this.label3.Text = "Tên đăng nhập";
87 //
88 // groupBox1
89 //
90 this.groupBox1.BackColor = System.Drawing.Color.Transparent;
91 this.groupBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
92 this.groupBox1.Controls.Add(this.button1);
93 this.groupBox1.Controls.Add(this.btnExit);
94 this.groupBox1.Controls.Add(this.label3);
95 this.groupBox1.Controls.Add(this.txtUserName);
96 this.groupBox1.Controls.Add(this.btnSignIn);
97 this.groupBox1.Controls.Add(this.txtPassword);
98 this.groupBox1.Controls.Add(this.label4);
99 this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
100 this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText;
101 this.groupBox1.Location = new System.Drawing.Point(153, 11);
102 this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
103 this.groupBox1.Name = "groupBox1";
104 this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
105 this.groupBox1.Size = new System.Drawing.Size(370, 256);
106 this.groupBox1.TabIndex = 15;
107 this.groupBox1.TabStop = false;
108 //
109 // button1
110 //
111 this.button1.BackColor = System.Drawing.Color.Transparent;
112 this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
113 this.button1.Cursor = System.Windows.Forms.Cursors.Arrow;
114 this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
115 this.button1.Image = global::QuanLyNhanSu.Properties.Resources.Computer1;
116 this.button1.Location = new System.Drawing.Point(137, 160);
117 this.button1.Name = "button1";
118 this.button1.Size = new System.Drawing.Size(205, 27);
119 this.button1.TabIndex = 17;
120 this.button1.Text = "Bàn phím ảo";
121 this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
122 this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
123 this.button1.UseVisualStyleBackColor = false;
124 this.button1.Click += new System.EventHandler(this.button1_Click);
125 //
126 // btnExit
127 //
128 this.btnExit.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnExit.BackgroundImage")));
129 this.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel;
130 this.btnExit.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
131 this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
132 this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
133 this.btnExit.Location = new System.Drawing.Point(260, 117);
134 this.btnExit.Margin = new System.Windows.Forms.Padding(2);
135 this.btnExit.Name = "btnExit";
136 this.btnExit.Size = new System.Drawing.Size(82, 26);
137 this.btnExit.TabIndex = 16;
138 this.btnExit.Text = " Thoát";
139 this.btnExit.UseVisualStyleBackColor = true;
140 this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
141 //
142 // btnSignIn
143 //
144 this.btnSignIn.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSignIn.BackgroundImage")));
145 this.btnSignIn.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F);
146 this.btnSignIn.Image = ((System.Drawing.Image)(resources.GetObject("btnSignIn.Image")));
147 this.btnSignIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
148 this.btnSignIn.Location = new System.Drawing.Point(137, 117);
149 this.btnSignIn.Margin = new System.Windows.Forms.Padding(2);
150 this.btnSignIn.Name = "btnSignIn";
151 this.btnSignIn.Size = new System.Drawing.Size(110, 26);
152 this.btnSignIn.TabIndex = 14;
153 this.btnSignIn.Text = " Đăng Nhập";
154 this.btnSignIn.UseVisualStyleBackColor = true;
155 this.btnSignIn.Click += new System.EventHandler(this.btnDangNhap_Click);
156 //
157 // frmDangNhap
158 //
159 this.AcceptButton = this.btnSignIn;
160 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
161 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
162 this.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
163 this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
164 this.CancelButton = this.btnExit;
165 this.ClientSize = new System.Drawing.Size(534, 278);
166 this.ControlBox = false;
167 this.Controls.Add(this.groupBox1);
168 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
169 this.HelpButton = true;
170 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
171 this.Margin = new System.Windows.Forms.Padding(2);
172 this.MaximizeBox = false;
173 this.MinimizeBox = false;
174 this.Name = "frmDangNhap";
175 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
176 this.Text = "Đăng Nhập";
177 this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmDangNhap_FormClosed);
178 this.groupBox1.ResumeLayout(false);
179 this.groupBox1.PerformLayout();
180 this.ResumeLayout(false);
181
182 }
183
184 #endregion
185
186 private System.Windows.Forms.Button btnSignIn;
187 private System.Windows.Forms.TextBox txtPassword;
188 private System.Windows.Forms.TextBox txtUserName;
189 private System.Windows.Forms.Label label4;
190 private System.Windows.Forms.Label label3;
191 private System.Windows.Forms.GroupBox groupBox1;
192 private System.Windows.Forms.Button btnExit;
193 private System.Windows.Forms.Button button1;
194 }
195 }